package com.tnsw.facebookautoliker.helper;

public class CommandCounter {
	
	private String _parentId;
	private int _maxChildrenCount;
	private int _currentCount = 0;
	private long timestamp;
	
	public CommandCounter(String parentId, int maxChildrenCount) {
		this._parentId = parentId;
		this._maxChildrenCount = maxChildrenCount;
		this.timestamp = System.currentTimeMillis();
	}
	
	public int getMaxChildrenCount() {
		return(this._maxChildrenCount);
	}
	
	public String getParentId() {
		return(this._parentId);
	}
	
	public void increateCurrentCount() {
		this._currentCount += 1;
	}
	
	public int getCurrentCount() {
		return(this._currentCount);
	}
	
	public long getTimestamp() {
		return(this.timestamp);
	}
}
